package com.ruoyi.prod.entity.dto;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.OrderBy;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.ruoyi.prod.entity.po.ProdPurchase;
import com.ruoyi.prod.entity.query.BaseCondition;
import com.ruoyi.prod.enums.AuditState;
import com.ruoyi.prod.enums.PurchaseState;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.math.BigDecimal;

/**
 * 采购进程传输对象
 * @author BaiBan
 * @since 2023/2/18
 */
@Data
public class ProdPurchaseDTO {
    @ApiModelProperty("id")
    private String id;

    @ApiModelProperty("申请单号")
    private String odd;

    @ApiModelProperty("固定资产类别编号")
    private String assetTypeId;

    @ApiModelProperty("固定资产类别名称")
    private String assetTypeName;

    @ApiModelProperty("资产名称")
    private String name;

    @ApiModelProperty("规格型号")
    private String model;

    @ApiModelProperty("单位")
    private String unit;

    @ApiModelProperty("预计价格")
    private String price;

    @ApiModelProperty("购置数量")
    private Integer number;

    @ApiModelProperty("已购置数量")
    private Integer finishNumber;

    @ApiModelProperty("采购状态")
    private PurchaseState purchaseState;

    @ApiModelProperty("审核状态")
    private AuditState auditState;
}
